* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
}

.address {
    width: 700px;
    margin: 10px auto;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
}

.addAddress {
    width: 600px;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block; /* 保持 .addAddress 在同一行 */
}

.addAddress:hover {
    background-color: #f0f0f0;
}

.information {
    width: 200px; /* 设置宽度为与 .addAddress 一致 */
    height: 230px;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    background-color: #f8f8f8;
    text-align: left;
    float: left;
    margin-right: 20px;
    position: relative; /* 为显示操作链接提供定位 */
}

.information p {
    color:black;
    margin-bottom: 10px;
}

.information span {
    margin-left: 30px;
    color: #ff6d6d;
    font-weight: bold;
}

.information a {
    color: #ff6d6d;
    margin-right: 10px;
    text-decoration: none;
}

.information a:hover {
    text-decoration: none;
}

.information div {
    display: none; /* 默认隐藏 */
    position: absolute;
    bottom: 10px;
    left: 20px;
}
.information div>a:first-of-type{
    margin-right: 50px;
}
.information:hover div {
    display: block; /* 鼠标悬停时显示 */
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    z-index: 9999;
}

#addressForm {
    width: 800px;
    padding: 20px;
    background-color: white; /* 背景颜色 */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center; /* 标题字体居中 */
    position: relative; /* 使关闭按钮绝对定位 */
}

#addressForm h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: black;
}

#addressForm table {
    width: 100%;
    border-collapse: collapse;
}

#addressForm td {
    padding: 10px;
}

#addressForm select,
#addressForm input[type="text"] {
    width: calc(100% - 24px); /* 增宽 */
    padding: 12px; /* 增加高度 */
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease; /* 添加过渡效果 */
}

#addressForm select {
    width: 160px; /* 增宽 */
    margin-right: 7px;
    vertical-align: middle; /* 使选择框垂直对齐 */
}

#addressForm input[type="text"] {
    width: 500px; /* 增宽 */
}

#addressForm input[type="text"]:focus {
    border-color: #ff6d6d; /* 点击时边框颜色 */
    outline: none; /* 去掉默认的焦点轮廓 */
}

#addressForm input[type="submit"] {
    width: 120px; /* 增宽 */
    padding: 12px;
    background-color: #cccccc; /* 默认背景颜色 */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#addressForm input[type="submit"]:hover {
    background-color: #e55d5d;
}

#closeButton {
    position: absolute;
    top: 25px;
    right: 100px;
    font-size: 24px;
    cursor: pointer;
}

/* 手机号码格式错误提示样式 */
#phoneError {
    display: none;
    color: #ff6d6d;
    font-size: 12px;
    margin-top: 5px;
}

.checkbox-row td {
    padding-left: 0;
}
.mo>a{
    width: 20px;
    margin-left: 10px;
    text-decoration: none;
    color: #989b9e;
}
.mo>a:hover{
    color: #ff7777;
}